package com.shanghai.shanghaielectric.communicate;

import com.shanghai.shanghaielectric.entity.CapacitorEntity;

/**
 * Created by admin on 2018/1/10.
 */

public class OnSerialReceiveListener{

    /**
     * 板子运行状态
     */
    //public void onRunState(RuningState state){}

    /**
     * 有源状态值
     */
    public void onActivityStart(boolean isStart){}

    /**
     * 电容投切状态值!!!!!
     */
    public void onCapacitorState(CapacitorEntity entity){}

    /**
     * 板卡发送参数
     */
    //public void onParameter(ParameterEntity parameter){}

    /**
     * 刷新主界面电压相序
     */
    public void onVoltagePhaseSequence(VoltagePhaseSequence sequence){}

    /**
     * 刷新主界面有功功率   无功功率   功率因数
     */
    public void onRefreshMain(double active,double reactive,double factor){}

    /**
     * 刷新主界面ABC值
     */
    //public void onRefreshABC(List<ABCValueEntity> entitys){}

    /**
     * 当前设备运行状态
     */
    //public void onBoardRunState(BoardStartState state){}

    /**
     * 当前故障状态改变
     */
    //public void onCurrentErrChange(List<ErrRecordEntity> entitys){};
}

